Programmable pump and catheter system